package cn.swust.score.pojo;

import java.sql.Timestamp;
import java.util.Date;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull; 
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonInclude.Include; 
import io.swagger.annotations.ApiModelProperty;
@JsonInclude(Include.NON_NULL)
public class Grade {

	@ApiModelProperty(value = "候选人性别")
	String candidateSex;

	@ApiModelProperty(value = "候选人学历")
	String candidateEducation;

	@ApiModelProperty(value = "候选人职务")
	String candidatePost;

	@ApiModelProperty(value = "候选人职称")
	String candidatePosition;
	@ApiModelProperty(value = "候选人民族")
	String candidateNation;
	@ApiModelProperty(value = "候选人生日")
	Date candidateBirthday;

	@ApiModelProperty(value = "候选人学校")
	String candidateSchool;

	@ApiModelProperty(value = "近两年是否担任专职辅导员")
	String candidateIsInstructor;

	@ApiModelProperty(value = "候选人是否在岗在编")
	String candidateRegularPayroll;

	@ApiModelProperty(value = "打分人性别")
	String raterSex;

	@ApiModelProperty(value = "打分人学历")
	String raterEducation;

	@ApiModelProperty(value = "打分人职务")
	String raterPost;
	@ApiModelProperty(value = "打分人职称")
	String raterPosition;
	@ApiModelProperty(value = "打分人学校")
	String raterSchool;


	@ApiModelProperty(value = "比赛id") 
	int scoreInfoId;
	
	@ApiModelProperty(value = "阶段id")
	@NotNull
	int stageId;
	
	@ApiModelProperty(value = "比赛Name")
	String scoringTitle;
	
	@ApiModelProperty(value = "阶段名称") 
	String stageName;
	
	@ApiModelProperty(value = "评分人id")
	int raterId;

	@ApiModelProperty(value="评分人姓名")
	String raterName;



	@ApiModelProperty(value = "选手id")
	@NotNull
	int candidateId;

	@ApiModelProperty(value = "选手姓名")
	String candidateName;
	
	@ApiModelProperty(value = "选手number")
	int candidateNum;
	
	
	@ApiModelProperty(value = "选手成绩")
	@NotNull
	@Min(0)
	@Max(100)
	Integer fraction = -1;
	 
	@ApiModelProperty(value = "打分时间")
	protected Timestamp createTime;
	
	@ApiModelProperty(value = "修改时间")
	protected Timestamp updateTime;
	
	@ApiModelProperty(value = "打分增加或修改")
	int verify;
	
	int sort;

	public String getCandidateSex() {
		return candidateSex;
	}

	public void setCandidateSex(String candidateSex) {
		this.candidateSex = candidateSex;
	}

	public String getCandidateEducation() {
		return candidateEducation;
	}

	public void setCandidateEducation(String candidateEducation) {
		this.candidateEducation = candidateEducation;
	}

	public String getCandidatePost() {
		return candidatePost;
	}

	public void setCandidatePost(String candidatePost) {
		this.candidatePost = candidatePost;
	}

	public String getCandidatePosition() {
		return candidatePosition;
	}

	public void setCandidatePosition(String candidatePosition) {
		this.candidatePosition = candidatePosition;
	}

	public String getCandidateNation() {
		return candidateNation;
	}

	public void setCandidateNation(String candidateNation) {
		this.candidateNation = candidateNation;
	}

	public Date getCandidateBirthday() {
		return candidateBirthday;
	}

	public void setCandidateBirthday(Date candidateBirthday) {
		this.candidateBirthday = candidateBirthday;
	}

	public String getCandidateSchool() {
		return candidateSchool;
	}

	public void setCandidateSchool(String candidateSchool) {
		this.candidateSchool = candidateSchool;
	}

	public String getCandidateIsInstructor() {
		return candidateIsInstructor;
	}

	public void setCandidateIsInstructor(String candidateIsInstructor) {
		this.candidateIsInstructor = candidateIsInstructor;
	}

	public String getCandidateRegularPayroll() {
		return candidateRegularPayroll;
	}

	public void setCandidateRegularPayroll(String candidateRegularPayroll) {
		this.candidateRegularPayroll = candidateRegularPayroll;
	}

	public String getRaterSex() {
		return raterSex;
	}

	public void setRaterSex(String raterSex) {
		this.raterSex = raterSex;
	}

	public String getRaterEducation() {
		return raterEducation;
	}

	public void setRaterEducation(String raterEducation) {
		this.raterEducation = raterEducation;
	}

	public String getRaterPost() {
		return raterPost;
	}

	public void setRaterPost(String raterpost) {
		this.raterPost = raterpost;
	}

	public String getRaterPosition() {
		return raterPosition;
	}

	public void setRaterPosition(String raterPosition) {
		this.raterPosition = raterPosition;
	}

	public String getRaterSchool() {
		return raterSchool;
	}

	public void setRaterSchool(String raterSchool) {
		this.raterSchool = raterSchool;
	}

	public int getScoreInfoId() {
		return scoreInfoId;
	}

	public void setScoreInfoId(int scoreInfoId) {
		this.scoreInfoId = scoreInfoId;
	}

	public int getStageId() {
		return stageId;
	}

	public void setStageId(int stageId) {
		this.stageId = stageId;
	}

	public String getScoringTitle() {
		return scoringTitle;
	}

	public void setScoringTitle(String scoringTitle) {
		this.scoringTitle = scoringTitle;
	}

	public String getStageName() {
		return stageName;
	}

	public void setStageName(String stageName) {
		this.stageName = stageName;
	}

	public int getRaterId() {
		return raterId;
	}

	public void setRaterId(int raterId) {
		this.raterId = raterId;
	}

	public String getRaterName() {
		return raterName;
	}

	public void setRaterName(String raterName) {
		this.raterName = raterName;
	}

	public int getCandidateId() {
		return candidateId;
	}

	public void setCandidateId(int candidateId) {
		this.candidateId = candidateId;
	}

	public String getCandidateName() {
		return candidateName;
	}

	public void setCandidateName(String candidateName) {
		this.candidateName = candidateName;
	}

	public int getCandidateNum() {
		return candidateNum;
	}

	public void setCandidateNum(int candidateNum) {
		this.candidateNum = candidateNum;
	}

	public Integer getFraction() {
		return fraction;
	}

	public void setFraction(Integer fraction) {
		this.fraction = fraction;
	}

	public Timestamp getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Timestamp createTime) {
		this.createTime = createTime;
	}

	public Timestamp getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Timestamp updateTime) {
		this.updateTime = updateTime;
	}

	public int getVerify() {
		return verify;
	}

	public void setVerify(int verify) {
		this.verify = verify;
	}

	public int getSort() {
		return sort;
	}

	public void setSort(int sort) {
		this.sort = sort;
	}
	
//	public Grade( int stageId, int currId,int raterId, int score){
//		this.setCandidateId(currId);
//		this.setRaterId(raterId);
//		this.setStageId(stageId);
//		this.setScore(score);
//	}

 
}
